aad4bd238a0c25c56bfbfadf6f5e7f8e2327310c,subprojects/model-core/src/main/java/org/gradle/model/internal/core/DefaultCollectionBuilder.java,DefaultCollectionBuilder,create,#String#Class#,50

Before Change


    }

    public <S extends T> void create(String name, Class<S> type) {
        doCreate(name, ModelType.of(type), new CustomTypeFactory<S>(name, type));
    }

    public <S extends T> void create(final String name, final Class<S> type, Action<? super S> configAction) {

After Change


    }

    public <S extends T> void create(final String name, final Class<S> type) {
        doCreate(name, ModelType.of(type), new Factory<S>() {
            @Override
            public S create() {
                S element = instantiator.create(name, type);
                target.add(element);
                return element;
            }
        });
    }

    public <S extends T> void create(final String name, final Class<S> type, final Action<? super S> configAction) {